package com.ccrfid.rmc6.entity.personnel;

import javax.persistence.*;

@Entity
@Table(name = "personnel_photo")
public class PersonnelPhotoEntity {
    private Long personnelId;
    private byte[] image;

    @Id
    @Column(name = "personnel_id", nullable = false)
    public Long getPersonnelId() {
        return personnelId;
    }

    public void setPersonnelId(Long personnelId) {
        this.personnelId = personnelId;
    }

    @Lob
    @Column(name = "image")
    public byte[] getImage() {
        return image;
    }

    public void setImage(byte[] image) {
        this.image = image;
    }
}
